import axios from 'axios'

export const loginReq = (data)=>{
    return axios.post('http://localhost:8000/auth/login',data);
};

export const registerReq = (data)=>{
    console.log(data);
    return axios.post('http://localhost:8000/auth/register',data);
};

export const confirmNameReq = (data)=>{
    return axios.get('http://localhost:8000/auth/confirmName',{params:data});
};
